import axios from '../utils/request.js'
import qs from 'qs'//引入qs


export function login(params) {
	return axios.post('/sys/user/login?'+qs.stringify(params));
}

export function menuApi(){
	return axios.get('/sys/function/tree');
}

export function sendSMS(params) {
  // return request({
  //   closeLoading:true,//closeInterceptors:true  (请求没有Loading，请求没有拦截)
  //   url: '/pc/sendsms',
  //   method: 'get',
  //   params: params
  // })
}
